<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="聚客_好评墙" />
<link type="text/css" rel="stylesheet" href="<?php echo base_url("theme/css");?>/reset.css" media="screen" />
<link type="text/css" rel="stylesheet" href="<?php echo base_url("theme/css");?>/style.css" media="screen" />
<script type="text/javascript" src="<?php echo base_url("theme/js");?>/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo base_url("theme/js");?>/main.js"></script>
<script type="text/javascript" src="<?php echo base_url("theme/js/colorbox");?>/jquery.colorbox.js"></script>
<link type="text/css" rel="stylesheet" href="<?php echo base_url("theme/js/colorbox");?>/colorbox.css" media="screen" />


<!-- //下面加载模块样式 -->
<?php
	if( !empty($configseting)) :
		$output_style = get_filenames('output_style/'.$configseting['style_id']);
		foreach($output_style as $key=>$val){
			if($val == 'effect.js') continue;
			if(substr($val,-2) == 'js')
				echo '<script type="text/javascript" src="'.base_url("output_style").'/'.$configseting['style_id'].'/'.$val.'"></script>';
			if(substr($val,-2) == 'ss')
				echo '<link type="text/css" rel="stylesheet" href="'.base_url("output_style").'/'.$configseting['style_id'].'/'.$val.'" />';	
		}
		echo '<script type="text/javascript" src="'.base_url("output_style").'/'.$configseting['style_id'].'/effect.js"></script>';
	endif;
?>



<title>聚客_好评墙</title>
</head>

<body>

	<div class="header">
		<h1 class="logo">聚客 - 买家好评展示墙</h1>
        <!--
        <div class="browser">
            为了安全的浏览和更好的使用体验，推荐您使用这些浏览器：
            <a href="http://firefox.com.cn/" target="_blank" title="下载火狐浏览器">Firefox</a> 、
            <a href="http://www.google.com/chrome/index.html?hl=zh_cn&brand=CHMA&utm_campaign=zh_cn&utm_source=zh_cn-ha-apac-zh_cn-bk&utm_medium=ha" target="_blank" title="下载Google浏览器">Google浏览器</a> 、 
            <a href="http://windows.microsoft.com/zh-CN/internet-explorer/products/ie/home/" target="_blank" title="下载IE9">IE9</a> 、
            <a href="http://www.apple.com.cn/safari/" target="_blank" title="下载Safari浏览器">Safari</a>. &nbsp; &nbsp; 
            360浏览器用户 <a href="http://tech.qq.com/a/20120914/000087.htm" target="_blank" title="360浏览器真不安全啊">看这里</a>。
        </div>
        -->
	</div>
    
<div class="wrap">
	
   		<div id="top">
            <div class="bd">
                <table width="100%">
                    <tr>
                        <td>
                        <?php

							if( !empty($user)){
                            
							   echo  'Hi, <a href="http://shop'.$user['shop_id'].'.taobao.com/" target="_black">'.$user['nick'].'</a>';
							   echo '<img src="http://juke.ipropre.com/public/ranks/'.$user['level'].'.gif" /> | ';
							   echo anchor('login/logout','[退出]',array('title'=>'退出登录'));
							}else{
								echo  "亲，您好，欢迎使用 买家好评展示墙，请先登录或订购!";
							}
						?>

                        </td>
                        <td style="text-align:right;">
                        <?php if(isset($_SESSION["usernick"])&&isset($_SESSION["statue"])){?>
                      <!--  版本: <img src="http://juke.ipropre.com/public/uploads/vip_icon.gif" alt="vip" />
                        <a href="#" title="续费" target="_blank">[ 续费 ]</a> | 
                        <span>到期时间: </span> 2013-10-30日 -->
                        <?php } ?>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        
        
        
     <?php if(!empty($user)){
		 
		$mId = $this->uri->segment(2,'index');
		$meunarr = array(
						 	'index'=>'1.预览效果',
							'set'=>'2.配置参数',
							'update'=>'3.更新好评数据',
							'intro'=>'4.安装到店铺',
						 );
		?>
        
    	 <div class="menu">
            <?php 
				foreach($meunarr as $key=>$val){
					if($mId == $key) $class = 'cur'; else $class = $key;
					echo anchor('home/'.$key,$val,array('title'=>$val,'class'=>$class));
				}
			?>
        </div>
    	
    <?php } ?>

        